module.exports = (app) => {
  const { router, controller, middleware: { jwtVerify, lastTime} } = app;
  
  router.post("/admin/note/add", jwtVerify(), lastTime(), controller.note.add);
  router.post("/admin/note/edit", jwtVerify(), lastTime(), controller.note.edit);
  router.get("/admin/note/list", jwtVerify(), lastTime(), controller.note.list);
  router.post("/admin/note/delete", jwtVerify(), lastTime(), controller.note.delete);
  router.get("/admin/note/detail", jwtVerify(), lastTime(), controller.note.detail);
};
